/*******************************************************************/
/* @ All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.        */
/*                                                                 */
/*  NAME      = tfrdbg_print.c                                    */
/*  NOTE      =                                                    */
/*  DATE      = 2015/01/26 by geyh                                 */
/*******************************************************************/
/*!
 * \file t_frdbg_print.c
 *
 * All Rights Reserved Copyright (C) 2014 broada,Co.,Ltd.\n
 *
 * \version 3.0
 * \author geyh
 * \date 2016/03/31
 *
 */
#include <CUnit/Basic.h>
#include <stdlib.h>

#include "frcomm.h"
#include "frmem.h"
#include "conntrack.h"
#include "frct_comm.h"

#include "apmtest_comm.h"

extern void frdbg_print(const char *p_file, int i_line
        , const char *p_fun, const char *p_fmt , ...);

static int __suite_init(void)
{

    return 0;
}

static int __suite_cleanup(void)
{

    return 0;
}

static void __case1(void)
{
    frdbg_print("t_frdbg_print.c", 36
            , "case1", "%s", "test frdbg_print case\n");
    return;
}


int add_suite_frdbg_print(void)
{
    CU_pSuite pSuite = NULL;

    if ((pSuite = CU_add_suite("frcomm frdbg_print()", __suite_init, __suite_cleanup)) == NULL)
        return FR_FAIL;

    CU_add_test(pSuite, "case1", __case1);

    return FR_SUCC;
}
